/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2019.
 * Description: rtos_fsl_erratum_a_006184.h
 * Author: jiangfeng xiao
 * Create: 2019-09-06
 */

#ifndef __RTOS_FSL_ERRATUM_A_006184_H
#define __RTOS_FSL_ERRATUM_A_006184_H

#ifdef CONFIG_RTOS_HAL_FSL_ERRATUM_A_006184
/* The range of period is 0~63 */
int rtos_set_ppc_tcr_wp(u32 period);
#else
static inline int rtos_set_ppc_tcr_wp(u32 period) { return 0; }
#endif /* RTOS_FIX_FSL_ERRATUM_A_00618 */

#endif /* __RTOS_FSL_ERRATUM_A_006184_H */
